package org.jingouzhui.domain.strategy.service.armory;

/**
 * @description: 抽奖分发
 * @author: jingouzhui
 * @date: 2025/4/24 23:19
 */
public interface IStrategyDispatch {

    public Integer getRandomAwardId(Long strategyId);

    public Integer getRandomAwardId(Long strategyId,String ruleWeightValue);

    /**
     * 根据策略ID和奖品ID，扣减奖品缓存库存
     *
     * @param strategyId 策略ID
     * @param awardId    奖品ID
     * @return 扣减结果
     */
    Boolean subtractionAwardStock(Long strategyId, Integer awardId);
}
